package com.ldl.origami.domain;

import java.util.List;

/**
 * 功能描述:教程相关的数据集合
 * 作者: LDL
 * 创建时间: 2014/9/3 14:44
 */

public class TutorialData {

    private Tutorial tutorial;

    private List<Tutorial> tutorials;
    /**
     * 热门排行
     */
    private List<Tutorial> hotTutorials;
    /**
     * 最新发布
     */
    private List<Tutorial> newTutorials;

    /**
     * 我的收藏
     */
    private List<Tutorial> myCollections;

    /**
     * 我的教程
     */
    private List<Tutorial> myTutorials;

    /**
     * 用户是否评过分
     */
    private boolean isRatingByUser = false;

    private UserScore userScore;

    /**
     * 是否需要分页显示
     */
    private boolean requires_pagination = true;
    /**
     * 热门排行是否需要分页显示
     */
    private boolean hotlist_requires_pagination = true;
    /**
     * 最新发布是否需要分页显示
     */
    private boolean newlist_requires_pagination = true;
    /**
     * 我的收藏是否需要分页显示
     */
    private boolean mycollections_requires_pagination = true;
    /**
     * 我的教程是否需要分页显示
     */
    private boolean mytutorialss_requires_pagination = true;

    public Tutorial getTutorial() {
        return tutorial;
    }

    public void setTutorial(Tutorial tutorial) {
        this.tutorial = tutorial;
    }

    public boolean isRatingByUser() {
        return isRatingByUser;
    }

    public void setRatingByUser(boolean isRatingByUser) {
        this.isRatingByUser = isRatingByUser;
    }

    public UserScore getUserScore() {
        return userScore;
    }

    public void setUserScore(UserScore userScore) {
        this.userScore = userScore;
    }

    public boolean isRequires_pagination() {
        return requires_pagination;
    }

    public void setRequires_pagination(boolean requires_pagination) {
        this.requires_pagination = requires_pagination;
    }

    public List<Tutorial> getTutorials() {
        return tutorials;
    }

    public void setTutorials(List<Tutorial> tutorials) {
        this.tutorials = tutorials;
    }

    public boolean isHotlist_requires_pagination() {
        return hotlist_requires_pagination;
    }

    public void setHotlist_requires_pagination(boolean hotlist_requires_pagination) {
        this.hotlist_requires_pagination = hotlist_requires_pagination;
    }

    public boolean isNewlist_requires_pagination() {
        return newlist_requires_pagination;
    }

    public void setNewlist_requires_pagination(boolean newlist_requires_pagination) {
        this.newlist_requires_pagination = newlist_requires_pagination;
    }

    public List<Tutorial> getHotTutorials() {
        return hotTutorials;
    }

    public void setHotTutorials(List<Tutorial> hotTutorials) {
        this.hotTutorials = hotTutorials;
    }

    public List<Tutorial> getNewTutorials() {
        return newTutorials;
    }

    public void setNewTutorials(List<Tutorial> newTutorials) {
        this.newTutorials = newTutorials;
    }

    public boolean isMycollections_requires_pagination() {
        return mycollections_requires_pagination;
    }

    public void setMycollections_requires_pagination(boolean mycollections_requires_pagination) {
        this.mycollections_requires_pagination = mycollections_requires_pagination;
    }

    public List<Tutorial> getMyCollections() {
        return myCollections;
    }

    public void setMyCollections(List<Tutorial> myCollections) {
        this.myCollections = myCollections;
    }

    public List<Tutorial> getMyTutorials() {
        return myTutorials;
    }

    public void setMyTutorials(List<Tutorial> myTutorials) {
        this.myTutorials = myTutorials;
    }

    public boolean isMytutorialss_requires_pagination() {
        return mytutorialss_requires_pagination;
    }

    public void setMytutorialss_requires_pagination(boolean mytutorialss_requires_pagination) {
        this.mytutorialss_requires_pagination = mytutorialss_requires_pagination;
    }
}
